package com.quan.feign;

import com.quan.entity.OrderReq;
import com.quan.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: xiexinquan520@163.com
 * User: XieXinQuan
 * DATE:2020/8/10
 */
@FeignClient(value = "order")
public interface OrderFeign {
    @PostMapping("/order/create")
    Result<String> createOrder(@RequestBody OrderReq orderReq);
}
